Emacs won't assume grep supports GREP_OPTIONS
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 17 Sep 2014 00:07:12 +0000 (17:07 -0700)
committerRob Browning <rlb@defaultvalue.org>
Sat, 19 Sep 2015 19:46:36 +0000 (14:46 -0500)
commit59467953c905b8d1c015dec9ba41df38af3df30e
treefbb340418027adfe23f697f1055dc973ee93f326
parent77abacb3b4d4bcb51bedf5d98881c069be402408
Emacs won't assume grep supports GREP_OPTIONS

This upstream patch has been added:

  Don't assume 'grep' supports GREP_OPTIONS.

  The GREP_OPTIONS environment variable is planned to be marked
  obsolescent in GNU grep, due to problems in its use, so stop
  relying on it.
  * progmodes/grep.el (grep-highlight-matches): Document this.
  (grep-process-setup): Do not set GREP_OPTIONS.
  (grep-compute-defaults): Use an explicit --color option if supported.

Origin: upstream, commit: 2e4c2fe2787785a421f256541de642976e9bd90b
Bug: http://debbugs.gnu.org/19247
Bug-Debian: http://bugs.debian.org/793741
Added-by: Rob Browning <rlb@defaultvalue.org>
lisp/ChangeLog
lisp/progmodes/grep.el